// components/calendar/calendar.js
Component({
  data:{
    list:['#F6F6F6',
    '#3D7CF3',
    '#90d7ec',
    '#4FC0E8',
    '#607D8B',
    '#DC4437',
    '#f15a22',
    '#FF9700',
    '#FDC844',
    '#109D57',
    '#48CFAE',
    '#A7E278',
    '#65c294',
    '#6950a1',
    '#AC92ED',
    '#FA7298',
    '#f391a9',
    '#F7C2D2',
    '#856B5A',
    '#D3C6BE',
    '#CCD0D9']
  },
  methods:{
    _chooseColor(e){
      console.log(e.currentTarget.dataset.name)
      this.triggerEvent('__color',e.currentTarget.dataset.name)
    }
  }
})
